package kpython.backend.ir.tree;

public class Atom extends Expr {

	public static final int var = 1, ninteger = 2, string = 3, nfloat = 4;
	public String atom = null;
	public int type = -1;
	
	@Override
	public void printTree(String tab) {
		System.out.println(tab+this.getClass().getSimpleName()+" "+atom);
	}
	
	public Object accept(IRTreeVisitor visitor, Object data) {
		return visitor.visit(this, data);
	}
	
	public String toString() {
		return this.getClass().getSimpleName();
	}
}
